package es.unileon.prg2.patterns.composite;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;
import es.unileon.prg2.patterns.handler.MalformedHandlerException;
import es.unileon.prg2.patterns.handler.ShortName;

public class ProvinceShortNameTests {
	@Before
	public void setUp() throws Exception {
	}

	@Test
	public void testgetIdOk() throws MalformedHandlerException {
		assertEquals(new ProvinceShortName("BR").getId().toString(), "BR");
	}

}
